"""The application's model objects"""
__import__('pkg_resources').declare_namespace(__name__)

from chowa.model.meta import Session, Base
from chowa.model.site import App
from chowa.model.layout import *
from chowa.model.navigation import *
from chowa.model.organization import *
from chowa.model.abstract import *
from chowa.model.auth import *
from chowa.model.geo import *
from chowa.model.social import *


def init_model(engine):
    """Call me before using any of the tables or classes in the model"""
    Session.configure(bind=engine)
    engine.execute("SET NAMES UTF8")
